Skip to content

feat(anr): [Non-Fatal ANR 5] Report non-fatal ANRs - #6726

Draft
markushi wants to merge 1 commit into
markushi/feat/non-fatal-anr-4-wire-recorderfrom
markushi/feat/non-fatal-anr-5-report-non-fatal-anrs
Draft

markushi wants to merge 1 commit into
markushi/feat/non-fatal-anr-4-wire-recorderfrom
markushi/feat/non-fatal-anr-5-report-non-fatal-anrs

Conversation

@markushi

Copy link
Copy Markdown
Member

Adds NonFatalAnrIntegration (API 30+) and the options nonFatalAnrSampleRate and nonFatalAnrThresholdMs (also as manifest metadata). Writes the last_non_fatal_anr marker for hangs that can also be a fatal ANR.

Design: Non-Fatal ANR Architecture (JAVA-777)

⚠️ Merge this PR using a merge commit (not squash). Only the collection branch is squash-merged into main.

🤖 Generated with Claude Code

#skip-changelog

@github-actions github-actions Bot added the risk: medium PR risk score: medium label Nov 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR risk: medium

For commit db300e8.

Main concerns: public contract, data sent to Sentry, host performance.

Rules that block low also fired:

  • R4: a public API record changed: sentry-android-core/api/sentry-android-core.api

This label is a hint for reviewers, not an approval.

@github-actions

Copy link
Copy Markdown
Contributor
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against db300e8

@markushi
markushi added this pull request to stack #6730 November 20, 2026 17:55
@sentry

sentry Bot commented Nov 20, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
SDK Size io.sentry.tests.size 8.65.0 (1) release

⚙️ sentry-android Build Distribution Settings

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant